package icu.thatyear.main.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 用户配送地址
 * </p>
 *
 * @author Cjy
 * @since 2024-12-06
 */
@Getter
@Setter
@TableName("tz_pick_addr")
@Schema(name = "TzPickAddr", description = "用户配送地址")
public class TzPickAddr implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @TableId(value = "addr_id", type = IdType.AUTO)
    private Long addrId;

    @Schema(description = "自提点名称")
    @TableField("addr_name")
    private String addrName;

    @Schema(description = "地址")
    @TableField("addr")
    private String addr;

    @Schema(description = "手机")
    @TableField("mobile")
    private String mobile;

    @Schema(description = "省份ID")
    @TableField("province_id")
    private Long provinceId;

    @Schema(description = "省份")
    @TableField("province")
    private String province;

    @Schema(description = "城市ID")
    @TableField("city_id")
    private Long cityId;

    @Schema(description = "城市")
    @TableField("city")
    private String city;

    @Schema(description = "区/县ID")
    @TableField("area_id")
    private Long areaId;

    @Schema(description = "区/县")
    @TableField("area")
    private String area;

    @Schema(description = "店铺id")
    @TableField("shop_id")
    private Long shopId;
}
